//
//  BaseWebViewController.m
//  就到
//
//  Created by MT on 2017/12/22.
//  Copyright © 2017年 MT. All rights reserved.
//

#import "BaseWebViewController.h"

@interface BaseWebViewController ()
@property (weak, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation BaseWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setupUI];
}

- (void)setupUI{
    self.navigationController.navigationBar.tintColor = [UIColor blackColor];
    UIImage *backButtonImage = [[UIImage imageNamed:@"navi_white"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    self.navigationController.navigationBar.backIndicatorImage = backButtonImage;
    self.navigationController.navigationBar.backIndicatorTransitionMaskImage = backButtonImage;
    
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.webUrlStr]]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
